

<div class="layui-form" lay-filter="layuiadmin-form-useradmin" style="padding: 20px 0 0 0;">
  <div class="layui-form-item">
    <label class="layui-form-label">卡号</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="cardNo" value="{{ d.params.cardNo || '' }}" lay-verify="cardNo" placeholder="请输入卡号" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">姓名</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="name" value="{{ d.params.name|| '' }}" lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">身份</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="category" value="{{ d.params.category || '' }}" lay-verify="category" placeholder="请选择身份" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">身份证</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="card" value="{{ d.params.card || '' }}" lay-verify="card" placeholder="请输入身份证号码" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
  <label class="layui-form-label">系别</label>
  <div class="layui-input-inline">
    <script type="text/html" template>
      <input type="text" name="department" value="{{ d.params.department || '' }}" lay-verify="required" placeholder="请输入系别" autocomplete="off" class="layui-input">
    </script>
  </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">专业</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="profession" value="{{ d.params.profession || '' }}" lay-verify="required" placeholder="请输入专业" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">年级</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="grade" value="{{ d.params.grade || '' }}" lay-verify="required" placeholder="请输入年级" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>

  
  <div class="layui-form-item">
    <label class="layui-form-label">手机号码</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="phone" value="{{ d.params.phone || '' }}" lay-verify="phone" placeholder="请输入号码" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item" lay-filter="sex">
    <label class="layui-form-label">选择性别</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="radio" name="sex" value="男" title="男" {{ d.params.sex === '男' ? 'checked' : '' }}>
        <input type="radio" name="sex" value="女" title="女" {{ d.params.sex === '女' ? 'checked' : '' }}>
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-inline">
      <input type="button" lay-submit lay-filter="LAY-user-front-submit" value="确认" class="layui-btn">
    </div>
  </div>
</div>

<script>
layui.use(['admin', 'form', 'upload'], function(){
  var $ = layui.$
  ,form = layui.form
  ,upload = layui.upload;
  
  
})
</script>